﻿//++
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
// Module Name:
//
//    IOutlookApplication.cs
//
// Abstract:
//    
//    Defines an interface for an Application item to facilitate unit testing.
//
//--

using Microsoft.Office.Interop.Outlook;

namespace Microsoft.EnhancedReminders.OutlookAddIn
{
    /// <summary>
    /// Defines an interface for an Application item to facilitate unit testing.
    /// </summary>
    public interface IOutlookApplication
    {
        /// <summary>
        /// Get the storage item used for storing notification data.
        /// </summary>
        /// <returns>The storage item or null if the storage item cannot be accessed.</returns>
        IStorageItem GetStorageItem();

        /// <summary>
        /// Deletes the storage item used for storing notification data.
        /// </summary>
        void DeleteStorageItem();
    }
}